<template>
  <el-dialog
    title="物流进度"
    :visible.sync="dialogVisible"
    width="50%"
    @close="addressDialogClose"
  >
     <el-timeline>
    <el-timeline-item
      v-for="(activity, index) in progressInfo"
      :key="index"
      :timestamp="activity.time">
      {{activity.context}}
    </el-timeline-item>
  </el-timeline>
  </el-dialog>
</template>

<script>
import progress from '../progress.js'
export default {
    data() {
        return {
            dialogVisible:false,
            progressInfo:progress,
        }
    },
    methods:{
        addressDialogClose(){
            console.log(this.progressInfo)
        },
    }
}
</script>

<style>

</style>